/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.atlascon.java2gpb.serialization;

/**
 *
 * @author rehak
 */
public class ClassInfo {
    
    public static ClassInfo get(Class fieldClass, Class paramClass){
        return new ClassInfo(fieldClass, paramClass);
    }
    private final Class paramClass;
    private final Class fieldClass;

    private ClassInfo(Class fieldClass, Class paramClass) {
        this.fieldClass = fieldClass;
        this.paramClass = paramClass;
    }

    public Class getParamClass() {
        return paramClass;
    }

    public Class getFieldClass() {
        return fieldClass;
    }

    @Override
    public String toString() {
        return "ClassInfo{" + "paramClass=" + paramClass + ", fieldClass=" + fieldClass + '}';
    }
    
    
    
}
